import request from '@/utils/request';
import { officeApiUrl } from '@/api/config.js';
const annuaConferenctApi = process.env.NODE_ENV == 'development' ? '/cscec-office-business' : officeApiUrl;
/**
 * 获取类型标签列表数据
 * @param data
 */
export function getLabelTypes(data){
  return request({
    url: `${annuaConferenctApi}/label-types/query`,
    method: 'post',
    data: data
  })
}

/**
 * 会议室管理分页查询
 * @param data
 */
export function getMeetingRoomList(data){
  return request({
    url: `${annuaConferenctApi}/meeting/room/list`,
    method: 'post',
    data: data
  })
}
/**
 * 会议室管理新增
 * @param data
 */
export function meetingRoomAdd(data){
  return request({
    url: `${annuaConferenctApi}/meeting/room/add`,
    method: 'post',
    data: data
  })
}
/**
 * 会议室管理编辑
 * @param data
 */
export function meetingRoomUpdate(data){
  return request({
    url: `${annuaConferenctApi}/meeting/room/update`,
    method: 'post',
    data: data
  })
}
/**
 * 会议室预定列表
 * @param data
 */
export function reservationList(data){
  return request({
    url: `${annuaConferenctApi}/meeting/room/reservation/list`,
    method: 'post',
    data: data
  })
}
/**
 * 会议室预订新增
 * @param data
 */
export function reservationAdd(data){
  return request({
    url: `${annuaConferenctApi}/meeting/room/reservation/add`,
    method: 'post',
    data: data
  })
}
/**
 * 会议室预订详情查询
 * @param data
 */
export function reservationDetail(data){
  return request({
    url: `${annuaConferenctApi}/meeting/room/reservation/detail`,
    method: 'post',
    data: data
  })
}
/**
 * 会议室预订编辑
 * @param data
 */
export function reservationEdit(data){
  return request({
    url: `${annuaConferenctApi}/meeting/room/reservation/edit`,
    method: 'post',
    data: data
  })
}
/**
 * 取消会议
 * @param data
 */
export function reservationCancel(data){
  return request({
    url: `${annuaConferenctApi}/meeting/room/reservation/cancel`,
    method: 'post',
    data: data
  })
}
/**
 * 会议室预约情况时间表
 * @param data
 */
export function reservationTimeTable(data){
  return request({
    url: `${annuaConferenctApi}/meeting/room/reservation/time-table`,
    method: 'post',
    data: data
  })
}
/**
 * 会期调整
 * @param data
 */
export function reservationTimeAdjust(data){
  return request({
    url: `${annuaConferenctApi}/meeting/room/reservation/session/adjust`,
    method: 'post',
    data: data
  })
}
/**
 * 会期通知
 * @param data
 */
export function reservationMessage(data){
  return request({
    url: `${annuaConferenctApi}/meeting/room/reservation/message`,
    method: 'post',
    data: data
  })
}
/**
 * 保存会议纪要
 * @param data
 */
export function reservationSummary(data){
  return request({
    url: `${annuaConferenctApi}/meeting/room/reservation/summary`,
    method: 'post',
    data: data
  })
}
/**
 * 签到大屏信息查询
 * @param data
 */
export function reservationScreen(data){
  return request({
    url: `${annuaConferenctApi}/meeting/room/reservation/screen`,
    method: 'post',
    data: data
  })
}
/**
 * 查询投屏会议室信息
 * @param data
 */
export function reservationProjection(data){
  return request({
    url: `${annuaConferenctApi}/meeting/room/reservation/projection`,
    method: 'post',
    data: data
  })
}
/**
 * 年度会议计划分页查询
 * @param data
 */
export function annualPlanList(data){
  return request({
    url: `${annuaConferenctApi}/annual/meeting/plan/list`,
    method: 'post',
    data: data
  })
}
/**
 * 年度会议总计划新增
 * @param data
 */
export function annualPlanAdd(data){
  return request({
    url: `${annuaConferenctApi}/annual/meeting/plan/add`,
    method: 'post',
    data: data
  })
}
/**
 * 年度会议计划详情查询
 * @param data
 */
export function annualPlanSchedules(data){
  return request({
    url: `${annuaConferenctApi}/annual/meeting/plan/detail`,
    method: 'post',
    data: data
  })
}
/**
 * 年度会议详情表格数据新增
 * @param data
 */
export function annualPlanSchedulesAdd(data){
  return request({
    url: `${annuaConferenctApi}/annual/meeting/plan/schedules/add`,
    method: 'post',
    data: data
  })
}
/**
 * 年度会议详情表格数据删除
 * @param data
 */
export function annualPlanSchedulesDelete(data){
  return request({
    url: `${annuaConferenctApi}/annual/meeting/plan/schedules/delete`,
    method: 'post',
    data: data
  })
}
/**
 * 年度会议总计划状态修改
 * @param data
 */
export function annualPlanSchedulesEdit(data){
  return request({
    url: `${annuaConferenctApi}/annual/meeting/plan/status/edit`,
    method: 'post',
    data: data
  })
}